#pragma once
#include<iostream>
#include<string>
#include<ctime>
#define INFO 1
#define WORING 2
#define FATAL 3
#define DEBUG 4
#define LOG(level,message) Log(#level,message,__FILE__,__LINE__)

void Log(std::string level,const std::string&message,const std::string&file,int line)
{
    std::cout<<"["<<level<<"]"<<"["<<message<<"]"<<"["<<file<<"]"<<"["<<line<<"]"<<std::endl;
}